﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Brc_PaaS.Common.Model.Apollo
{
    public class DeleteConfigDto:SingleNamespaceConditionDto
    {
        /// <summary>
        /// 必填
        /// 配置的key。非properties格式，key固定为content
        /// </summary>
        [Required(ErrorMessage ="请输入配置的Key")]
        [JsonProperty("key")]
        public string Key { get; set; }
        /// <summary>
        /// 必填
        /// 删除配置的操作者，域账号
        /// </summary>
        [Required(ErrorMessage ="请输入操作者域账号")]
        [JsonProperty("dataChangeCreatedBy")]
        public string Operator{get;set;}

    }
}
